#ifndef SCREEN_PART_H
#define SCREEN_PART_H

#include <QWidget>
#include <QSqlDatabase>
#include <QtDebug>
#include <QSqlQuery>
#include <QPushButton>
#include <QVector>
#include <QStringList>
#include <QDate>
#include <QButtonGroup>
#include <QMessageBox>
#include <QCheckBox>
#include <QFile>
#include <QTextStream>

namespace Ui {
class Screen_part;
}

class Screen_part : public QWidget
{
    Q_OBJECT

public:
    explicit Screen_part(QWidget *parent = nullptr);
    ~Screen_part();
signals:
    void Guidance(int);
private:
    Ui::Screen_part *ui;
    QSqlDatabase sql;
    int id;
    int list1[41];
    int list2[41];
    int list3[41];
    QCheckBox* box1[41];
    QCheckBox* box2[41];
    QCheckBox* box3[41];
    void Show_Rows();
private slots:
    void do_test(int, QString);
    void calulate();

};

#endif // SCREEN_PART_H
